home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Geek Gadgets 2
/
Geek_Gadgets_2_2352.bin
/
lists
/
ade-gcc.archive.9602.gz
/
ade-gcc.archive.9602
/
000089_owner-ade-gcc_Fri Feb 16 05:11:25 1996.msg
< prev
next >
Wrap
Internet Message Format
|
1996-02-28
|
3KB
Return-Path: <owner-ade-gcc>
Received: by fishpond (Smail3.1.29.1 #57)
id m0tnN8H-000gXca; Fri, 16 Feb 96 05:11 EST
Sender: owner-ade-gcc
Received: from ernie.icslab.agh.edu.pl by fishpond with smtp
(Smail3.1.29.1 #57) id m0tnN7Z-000gXbC; Fri, 16 Feb 96 05:10 EST
Received: (from kiskra@localhost) by ernie.icslab.agh.edu.pl (8.6.12/8.6.12) id LAA22928; Fri, 16 Feb 1996 11:09:34 +0100
Date: Fri, 16 Feb 1996 11:09:33 +0100 (MET)
From: Kamil Iskra <kiskra@ernie.icslab.agh.edu.pl>
To: Matthias Fleischer <fleischr@IZFM.Uni-Stuttgart.DE>
cc: amiga-gcc-port@nic.funet.fi, ADE GCC List <ade-gcc@ninemoons.com>
Subject: Re: Passing arguments in registers and stack checking/extension
In-Reply-To: <9602160940.AA10532@sunserv.IZFM.Uni-Stuttgart.DE>
Message-ID: <Pine.SUN.3.91.960216105136.22271A-100000@ernie>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-ade-gcc@ninemoons.com
Precedence: bulk
On Fri, 16 Feb 1996, Matthias Fleischer wrote:
> No. I think a redesign of the stack checking/extension functions that
> are called by gcc directly should be easy. Those functions are
> only very small assembly stubs that check the current stackframe's
> size and return almost immediately if it suffices. If not then the real
> work is done by another layer of functions (see below). E.g. for
> ixemul.library this means that only _those_ functions are shared library
> functions. The bulk of strange looking pseudo assembly instructions
> are statically linked for speed. So much for how it works ;-).
>
> What do you have in mind for the new stack extension design?
Well, I don't know, I haven't thought much about it.
I think the big problem is that this small functions like __link_a5_d0,
__sub_a7_d0 or __stkchk_d0 (or whatever they're called) expect argument in
d0. However, d0 is used to pass argument to user's function, so it can't
be used as argument for stack checking/extension functions. So it seems
that incompatible modification in GCC stack checking/extension handling
code would be needed - that's why I decided to write about it.
My knowledge of assembler is rather poor, so I'm afraid I won't be able to
do this kind of modification. I think this would have to be made quite
quickly - before IXEmul 43.0 with stack checking/extension support is out.
Could you do it, please?
/ Kamil Iskra - AMIGA 1200, 68030 50MHz, HDD 850 MB, 10 MB RAM \
| iskra@student.uci.agh.edu.pl kiskra@ernie.icslab.agh.edu.pl |
| http://student.uci.agh.edu.pl/~iskra |
\ PGP public key available via Finger or WWW /